NoticeCancel
METADATA
Attribute | Value |
---|---|
Topic | 2450-liquidity-notice |
MLink Token | SRATS |
Product | SRTrade |
accessType | SELECT |
Table Definition
Field | Type | Key | Default Value | Comment |
---|---|---|---|---|
noticeNumber | CHAR(19) | PRI | '0000-0000-0000-0000' | required AuctionNoticenoticeNumber |
accnt | VARCHAR(16) | PRI | '' | required SR Accnt |
clientFirm | VARCHAR(16) | PRI | '' | optional SR ClientFirm |
ticker_at | enum - AssetType | 'None' | filled in on server underlier ticker | |
ticker_ts | enum - TickerSrc | 'None' | filled in on server underlier ticker | |
ticker_tk | VARCHAR(12) | '' | filled in on server underlier ticker | |
tradeDate | DATE | '1900-01-01' | filled in on server | |
timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' |
PRIMARY KEY DEFINITION (Unique)
Field | Sequence |
---|---|
noticeNumber | 1 |
accnt | 2 |
clientFirm | 3 |
CREATE TABLE EXAMPLE QUERY
CREATE TABLE `SRTrade`.`MsgNoticeCancel` (
`noticeNumber` CHAR(19) NOT NULL DEFAULT '0000-0000-0000-0000' COMMENT '(required) AuctionNotice.noticeNumber',
`accnt` VARCHAR(16) NOT NULL DEFAULT '' COMMENT '(required) SR Accnt',
`clientFirm` VARCHAR(16) NOT NULL DEFAULT '' COMMENT '(optional) SR ClientFirm',
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT '(filled in on server) underlier ticker',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT '(filled in on server) underlier ticker',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT '(filled in on server) underlier ticker',
`tradeDate` DATE NOT NULL DEFAULT '1900-01-01' COMMENT '(filled in on server)',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
CONSTRAINT nonnegative_noticeNumber CHECK(ASCII(noticeNumber) < 56),
PRIMARY KEY USING HASH (`noticeNumber`,`accnt`,`clientFirm`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';
SELECT TABLE EXAMPLE QUERY
SELECT
`noticeNumber`,
`accnt`,
`clientFirm`,
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`tradeDate`,
`timestamp`
FROM `SRTrade`.`MsgNoticeCancel`
WHERE
/* Replace with a CHAR(19) */
`noticeNumber` = 'Example_noticeNumber'
AND
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm';
Doc Columns Query
SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='NoticeCancel' ORDER BY ordinal_position ASC;